package com.czk.model.responsebilitychain.practice;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/12/9 22:00
 */
public class Boss extends Commiter {
    @Override
    public void commit(LeaveForm leaveForm) {
        if (leaveForm.getDays()>5){
            // 经理的执行方法
            System.out.println("老板"+this.getName()+"签字啦");
        }
    }
}
